package com.elvende.web.client.presenter.life;

import com.elvende.web.client.presenter.Presenter;
import com.elvende.web.client.service.life.LearningServiceAsync;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Widget;
public class LearningDrillPresenter implements Presenter {
	 private final LearningServiceAsync rpcService;
	  private final HandlerManager eventBus;
	  private final Display display;
	
	 public LearningDrillPresenter(LearningServiceAsync rpcService, HandlerManager eventBus, Display view) {
		    this.rpcService = rpcService;
		    this.eventBus = eventBus;
		    this.display = view;
	 }
	 
	public interface Display {
		Widget asWidget();
	}

	public void bind() {		
	}	
	
	public void go(HasWidgets container) {
	    bind();
	    container.clear();
	    container.add(display.asWidget());
	}
}
